<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.$axios.get('api/user').then(res => {
				this.$store.commit("user", res.data)
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}

	}
</script>

<style lang="scss">
@import "uview-ui/index.scss";

body, page {
	background-color: #F4F8FB;
	padding-bottom: 145rpx;
}
</style>